package com.atguigu.spzx.product;

import com.atguigu.spzx.cache.config.RedisConfig;
import com.atguigu.spzx.common.config.Knife4jConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@MapperScan("com.atguigu.spzx.product.mapper")
@EnableCaching
@Import({RedisConfig.class,Knife4jConfig.class})
public class ProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProductApplication.class,args);
    }
}
